We successfully switched to F28 in rpm-ostree. Time to follow suit here.
We exclude flatpak for now since we're still hitting test issues there
on F28.
Closes: #1601
Approved by: cgwalters
- auto
- try
-context: FAH27-insttests
+context: FAH28-insttests
required: true
container:
- image: registry.fedoraproject.org/fedora:27
+ image: registry.fedoraproject.org/fedora:28
kvm: true
tests:
- - ci/fah27-insttests.sh
+ - ci/fah28-insttests.sh
artifacts:
- tests/installed/artifacts/
- try
required: true
container:
- image: registry.fedoraproject.org/fedora:27
-context: f27-primary
+ image: registry.fedoraproject.org/fedora:28
+context: f28-primary
env:
# We only use -Werror=maybe-uninitialized here with a "fixed" toolchain
CFLAGS: '-fsanitize=undefined -fsanitize-undefined-trap-on-error -fsanitize=address -O2 -Wp,-D_FORTIFY_SOURCE=2'
---
# And now the contexts below here are variant container builds
-context: f27-rust
+context: f28-rust
inherit: true
container:
- image: registry.fedoraproject.org/fedora:27
+ image: registry.fedoraproject.org/fedora:28
env:
CONFIGOPTS: '--enable-rust'
CI_PKGS: cargo
---
-context: f27-gnutls
+context: f28-gnutls
inherit: true
container:
- image: registry.fedoraproject.org/fedora:27
+ image: registry.fedoraproject.org/fedora:28
env:
CONFIGOPTS: '--with-crypto=gnutls'
CI_PKGS: pkgconfig(gnutls)
inherit: true
-context: f27-experimental-api
+context: f28-experimental-api
env:
CONFIGOPTS: '--enable-experimental-api'
inherit: true
-context: f27-minimal
+context: f28-minimal
env:
CONFIGOPTS: '--without-curl --without-soup --disable-gtk-doc --disable-man
--disable-rust --without-libarchive --without-selinux --without-smack
inherit: true
required: true
-context: f27-libsoup
+context: f28-libsoup
env:
CONFIGOPTS: "--without-curl --without-openssl --with-libsoup"
inherit: true
required: true
-context: f27-introspection-tests
+context: f28-introspection-tests
env:
# ASAN conflicts with introspection testing;
- auto
- try
-context: FAH27-insttests
+context: FAH28-insttests
required: true
# FIXME; temporary workaround
# https://github.com/ostreedev/ostree/pull/1513#issuecomment-378784162
host:
- distro: fedora/27/atomic
+ distro: fedora/28/atomic
specs:
ram: 4096
#container:
-# image: registry.fedoraproject.org/fedora:27
+# image: registry.fedoraproject.org/fedora:28
tests:
- - docker run --device /dev/kvm --rm -v $(pwd):/srv/code:z registry.fedoraproject.org/fedora:27 /bin/sh -c "cd /srv/code && ./ci/fah27-insttests.sh"
+ - docker run --device /dev/kvm --rm -v $(pwd):/srv/code:z registry.fedoraproject.org/fedora:28 /bin/sh -c "cd /srv/code && ./ci/fah28-insttests.sh"
artifacts:
- tests/installed/artifacts/
- try
required: true
container:
- image: registry.fedoraproject.org/fedora:27
-context: f27-primary
+ image: registry.fedoraproject.org/fedora:28
+context: f28-primary
env:
# We only use -Werror=maybe-uninitialized here with a "fixed" toolchain
CFLAGS: '-fsanitize=undefined -fsanitize-undefined-trap-on-error -fsanitize=address -O2 -Wp,-D_FORTIFY_SOURCE=2'
---
# And now the contexts below here are variant container builds
-context: f27-rust
+context: f28-rust
inherit: true
container:
- image: registry.fedoraproject.org/fedora:27
+ image: registry.fedoraproject.org/fedora:28
env:
CONFIGOPTS: '--enable-rust'
CI_PKGS: cargo
---
-context: f27-gnutls
+context: f28-gnutls
inherit: true
container:
- image: registry.fedoraproject.org/fedora:27
+ image: registry.fedoraproject.org/fedora:28
env:
CONFIGOPTS: '--with-crypto=gnutls'
CI_PKGS: pkgconfig(gnutls)
inherit: true
-context: f27-experimental-api
+context: f28-experimental-api
env:
CONFIGOPTS: '--enable-experimental-api'
inherit: true
-context: f27-minimal
+context: f28-minimal
env:
CONFIGOPTS: '--without-curl --without-soup --disable-gtk-doc --disable-man
--disable-rust --without-libarchive --without-selinux --without-smack
inherit: true
required: true
-context: f27-libsoup
+context: f28-libsoup
env:
CONFIGOPTS: "--without-curl --without-openssl --with-libsoup"
inherit: true
required: true
-context: f27-introspection-tests
+context: f28-introspection-tests
env:
# ASAN conflicts with introspection testing;
- auto
- try
-context: f27-rpmostree
+context: f28-rpmostree
required: true
cluster:
hosts:
- name: vmcheck
- distro: fedora/27/atomic
+ distro: fedora/28/atomic
container:
- image: registry.fedoraproject.org/fedora:27
+ image: registry.fedoraproject.org/fedora:28
env:
HOSTS: vmcheck
# job than gcc for vars with cleanups; perhaps in the future these could
# parallelize
if test -x /usr/bin/clang; then
+ if grep -q -e 'static inline.*_GLIB_AUTOPTR_LIST_FUNC_NAME' /usr/include/glib-2.0/glib/gmacros.h; then
+ echo 'Skipping clang check, see https://bugzilla.gnome.org/show_bug.cgi?id=796346'
+ else
# Except for clang-4.0: error: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' [-Werror,-Wunused-command-line-argument]
export CFLAGS="-Wall -Werror -Wno-error=unused-command-line-argument ${CFLAGS:-}"
git clean -dfx && git submodule foreach git clean -dfx
export CC=clang
build
+ fi
fi
copy_out_gdtr_artifacts() {
+++ /dev/null
-#!/usr/bin/bash
-set -xeuo pipefail
-
-./tests/installed/provision.sh
-# TODO: enhance papr to have caching, a bit like https://docs.travis-ci.com/user/caching/
-cd tests/installed
-curl -Lo fedora-atomic-host.qcow2 https://getfedora.org/atomic_qcow2_latest
-exec env "TEST_SUBJECTS=$(pwd)/fedora-atomic-host.qcow2" ./run.sh
--- /dev/null
+#!/usr/bin/bash
+set -xeuo pipefail
+
+./tests/installed/provision.sh
+# TODO: enhance papr to have caching, a bit like https://docs.travis-ci.com/user/caching/
+cd tests/installed
+curl -Lo fedora-atomic-host.qcow2 https://getfedora.org/atomic_qcow2_latest
+exec env "TEST_SUBJECTS=$(pwd)/fedora-atomic-host.qcow2" ./run.sh
# Frozen to a tag for now to help predictability; it's
# also useful to test building *older* versions since
# that must work.
-RPMOSTREE_TAG=v2017.11
+RPMOSTREE_TAG=v2018.5
dn=$(dirname $0)
. ${dn}/libpaprci/libbuild.sh
# Duplicate of deps from build.sh in rpm-ostree for tests
pkg_install ostree{,-devel,-grub2} createrepo_c /usr/bin/jq PyYAML \
libubsan libasan libtsan elfutils fuse sudo python-gobject-base \
- selinux-policy-devel selinux-policy-targeted
+ selinux-policy-devel selinux-policy-targeted openssh-clients ansible
# This one is in the papr.yml
pkg_install rsync
# We want to capture automake results
cleanup() {
mv test-suite.log ${codedir} || true
+ mv vmcheck ${codedir} || true
}
trap cleanup EXIT
make -j 8 check